<?
if(POST) account::update($_POST);
if(PARAMS) $data->account = account::reset(PARAMS);
if($data->account->reset == 200){
$data->TITLE = _('Reset your password');
$data->DESCRIPTION = sprintf(_('Hi %s, please enter a new password for your account.'),$data->account->fullname);
} else {
$data->TITLE = _('Password has already been reset');
$data->DESCRIPTION = _('This link has already been used to reset your password.');
}
?>